#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include <mycoin.h>

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);

    //成员变量记录关卡索引
    int levalIndex;

    void paintEvent(QPaintEvent*);

    //二维数组数据
    int gameArray[4][4];

    //金币按钮数组
    MyCoin*coinBtn[4][4];

    //是否胜利
    bool isWin=true;

signals:
 void chooseSceneBack();
public slots:
};

#endif // PLAYSCENE_H
